package org.ffmpeg.ohos.filters;

import java.io.File;
import java.io.IOException;

public class RedactVideoFilter extends VideoFilter {

	private File fileRedactList;

	public RedactVideoFilter (File fileRedactList)
	{
		this.fileRedactList = fileRedactList;
	}

	public String getFilterString () throws IOException {
		if (fileRedactList != null)
			return "redact=" + fileRedactList.getCanonicalPath();
		else
			return "";

	}
}

//redact=blurbox.txt [out] [d], [d]nullsink
//"redact=" + Environment.getExternalStorageDirectory().getPath() + "/" + PACKAGENAME + "/redact_unsort.txt",